﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<GonguklubburinnMVC.Models.MountainE>" %>
<script src="/Scripts/MicrosoftAjax.js" type="text/javascript"></script>
<script src="/Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
<script src="/Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>
<script src="/Scripts/jquery-1.5.2.js" type="text/javascript" ></script>
<script type="text/javascript" src="/Scripts/Myscript.js"  ></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.8/jquery-ui.min.js"></script>
<script type="text/javascript" src="/Scripts/jquery.ui.datetime.src.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="http://hotlink.jquery.com/jqueryui/themes/base/jquery.ui.all.css" />
<link rel="stylesheet" type="text/css" media="screen" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.8/themes/flick/jquery-ui.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/Scripts/jquery.ui.datetime.css" />
    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>
        
    <fieldset>
            <legend>Fields</legend>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.ID) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.ID) %>
                <%: Html.ValidationMessageFor(model => model.ID) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Name) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Name) %>
                <%: Html.ValidationMessageFor(model => model.Name) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Height) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Height) %>
                <%: Html.ValidationMessageFor(model => model.Height) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.ImgName) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.ImgName) %>
                <%: Html.ValidationMessageFor(model => model.ImgName) %>
            </div>
        
        <div class="editor-field">
            <label for ="datetime">Date: </label><br />
           
            
                <%: Html.EditorFor(model => model.InsertDate) %>
                <%: Html.ValidationMessageFor(model => model.InsertDate) %>
            </div>
           
            <div class="editor-label">
                <%: Html.LabelFor(model => model.TravelTime) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.TravelTime) %>
                <%: Html.ValidationMessageFor(model => model.TravelTime) %>
            </div>

               
            <div class="editor-label">
                <%: Html.LabelFor(model => model.HasGone) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.HasGone) %>
                <%: Html.ValidationMessageFor(model => model.HasGone) %>
            </div>
            
            <p>
                <input type="submit" value="Save" />
            </p>
        </fieldset>

    <% } %>

    
